package com.ibeeking.found.msg.rest.service;


import com.ibeeking.found.msg.service.common.param.MpMiniprogramParam;
import com.ibeeking.found.msg.service.common.query.MpMiniprogramPageQuery;
import com.ibeeking.found.msg.service.common.query.MpMiniprogramQuery;

import com.ibeeking.found.msg.service.common.vo.MpMiniprogramVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


/**
 * IMpMiniprogramService
 *
 * @Author ibeeking
 * @Date 2021-02-02 20:18
 */
public interface IMpMiniprogramService {

    /***
     * 查询列表
     */
    List<MpMiniprogramVO> list(MpMiniprogramQuery mpMiniprogramQuery);

    /***
     * 分页查询
     */
    Page<MpMiniprogramVO> pageList(MpMiniprogramPageQuery mpMiniprogramPageQuery);

    /***
     * 新增
     */
    Boolean add(MpMiniprogramParam mpMiniprogramParam);

    /***
     * 修改
     */
    Boolean modify(MpMiniprogramParam mpMiniprogramParam);

    /***
     * 通过id查询
     */
    MpMiniprogramVO view(Long id);

    /***
     * 修改状态
     */
    Boolean changeStatus(Long id,Integer status);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
}
